<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="Cache-Control" content="no-transform" />
<title>街拍,美女-我的梦想世界</title>
<meta name="keywords" content="美女,图片,美女图片" />
<meta name="description" content="我的梦想世界(www.wdmxsj.com)全海量高清,清纯可爱阳光,美女图片在线欣赏,最全的中国街拍美女图片,周杰伦演唱会,小仙女" />
<head>
<style type="text/css">
*{padding: 0;margin: 0}
body{background: #f2f2f2}
.gallery {
    padding: 0 10px 20px 10px;
    margin-bottom:0.75rem;
    background: #fff;
}
.gallery h5{color: #333;font-size: 0.9rem;padding-top: 0.75rem}
.gallery ul {
    margin-top: 15px;
}
ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%
    display: -webkit-flex; /* Safari */
  	display: flex;
  	flex-wrap:wrap;
  	justify-content:center;
 
  	align-content:space-around
   
}
.gallery ul li {
    width: 33.33%;
    padding: 0.2rem;
    box-sizing:border-box;

}
.gallery ul li img {
    width: 100%;
    font-size: 0;
    display: block;
}

img {
    max-width: 100%;
}
</style>
</head>
<body>
<div class="content">
<!--	
<div class="gallery">
	<h5>2016年8月19日 - 有时启动应用时会发现端口已经被占用,或者是感觉有些端口自己没有使用却发现是打开的。这时我们希望知道是哪个应用/进程在使用该端口。 CentOS下可以..</h5>
	<ul>
	<li><img src="/static/mob/images/1.jpg" alt=""></li>
	<li><img src="/static/mob/images/2.jpg" alt=""></li>
	<li><img src="/static/mob/images/3.jpg" alt=""></li>
	<li><img src="/static/mob/images/4.jpg" alt=""></li>
	<li><img src="/static/mob/images/5.jpg" alt=""></li>
	<li><img src="/static/mob/images/4.jpg" alt=""></li>
	<li><img src="/static/mob/images/5.jpg" alt=""></li>
	<li><img src="/static/mob/images/4.jpg" alt=""></li>
	<li><img src="/static/mob/images/5.jpg" alt=""></li>
	</ul>
</div>
-->	
	<?php define("STATIC_PATH",'http://msource.wdmxsj.com');?>
	{volist name="list" id="vo"}
  {if condition="$vo['theme'] eq 3"}
  <div class="gallery">
    <h5>{$vo.title}  {$vo.content}{if condition="$vo['bname']"}<span style="color:#00F;">@{$vo.bname}</span>{/if}</h5>
    <video src="<?php echo STATIC_PATH;?>{$vo.covers}" width="100%" controls="controls">
    Your browser does not support the video tag.
    </video>
  </div>  
  {else:}	
	<div class="gallery">
		<a href="/index/index/details/id/{$vo.id}" target="_blank">
		<h5>{$vo.title}  {$vo.content}{if condition="$vo['bname']"}<span style="color:#00F;">@{$vo.bname}</span>{/if}</h5>
		<ul>
			{volist name="vo['image_url']" id="v"}	
			<li><img src="<?php echo STATIC_PATH;?>{$v.thumb}" alt=""></li>
			{/volist}
		</ul>
		</a>
	</div>
  {/if}
	{/volist}
	<div class="li_bottom"></div>
</div>
<style type="text/css">
.footer{position: fixed;bottom: 0;width: 100%;z-index: 1000;background: #D3D3D3;padding:0;height: 45px;line-height: 45px;text-align: center;}
.h_nav{margin:0 auto;width: 90%}
.h_nav .tit a{color: #fff;font-size: 18px;}
.bg-white{color:#fff; text-align: center;}
.act{background: grey;}
.tit{float:left;margin-left: 3px;}
.av{width:30%;} 
</style>
<div class="footer">
    <div class="h_nav row">
      <a href="/index/index/index/t/1" title="Picxa">
      <div class="tit  av col-lg-3 col-md-3 text-center col-xs-3 <?php if($t==1){?>act<?php }?>" >街拍</div>
      </a>
      <div class="tit col-lg-1 col-md-1 bg-white col-xs-1">|</div> 
      <a href="/index/index/index/t/2" title="Picxa"> 
      <div class="tit  av  col-lg-3 col-md-3 text-center col-xs-3 <?php if($t==2){?>act<?php }?>" >生活</div>
      </a>
      <div class="tit col-lg-1 col-md-1 bg-white col-xs-1">|</div>
    <!--  
      <a href="/index/index/index/t/3" title="Picxa">  
      <div class="tit  av  col-lg-3 col-md-3 text-center col-xs-3 <?php if($t==3){?>act<?php }?>" >视频></div>
      </a>
    -->
    </div>
</div>
<script src="/js/jquery.min.js"></script> 
<script type="text/javascript">

var now_page=1;
var whole_page=1;
var flag=false;
var scroll=true;
a_flag=false;
function isMobile(){
    var ua = navigator.userAgent;
    var ipad = ua.match(/(iPad).*OS\s([\d_]+)/),
        isIphone = !ipad && ua.match(/(iPhone\sOS)\s([\d_]+)/),
        isAndroid = ua.match(/(Android)\s+([\d.]+)/),
        isMobile = isIphone || isAndroid;
    if(isMobile) {
        return true;
    }else {
        return false;
    }
}
$(window).bind("scroll",function() {
    // 然后判断窗口的滚动条是否接近页面底部，这里的20可以自定义


      if(flag){
        if(!a_flag)
        alert("没有更多了");
        a_flag=true;
        return;
      }
    if ($(document).scrollTop() + $(window).height() > $(document).height() - 380 && scroll) {
        $(".li_bottom").show()
        now_page++;
        getme(now_page,scroll);
        $(".li_bottom").hide()
    }
})
function js_arr(jso){
	var j_str='';
	$(jso).each(function () {
		j_str +='<li><img src="<?php echo STATIC_PATH;?>'+this.thumb+'" alt=""></li>'
	});
	return j_str;	
}
function getme(now_page){
   scroll=false;
    $.post("/index/index/imagelist/t/{$t}",{'page':now_page},function(result){
     
      if(result['status']=='1'){
        str='';
        $(result.data).each(function () {
          l_s='';
          if(this.bname){
            l_s='@<span style="color:#00F;">'+this.bname+'</span>';
          }
          var per_theme=parseInt(this.thme);
          if(per_theme==3){
            str +='<div class="gallery"><h5>'+this.title+'  '+this.content+l_s+'</h5>'+
              '<video src="<?php echo STATIC_PATH;?>'+this.thumb+'" width="100%" controls="controls">'+
              'Your browser does not support the video tag.</video>'+            
            '</div>';    
          }else{
            n_s=js_arr(this.image_url);
            str +='<div class="gallery"><a href="/index/index/details/id/'+this.id+'" target="_blank"><h5>'+this.title+'  '+this.content+l_s+'</h5>'+
            '<ul>'+n_s+
            '</ul></a>'+
            '</div>';            
          }
        })
        //console.log(str);
        $(".li_bottom").before(str)
        /*  
        $('.list').css('height','auto');

        $("li.grid").css('position','static')
        */
        scroll=true;//123

      }else{
        flag=true;
      }        
      
    },'JSON');  
}
$(function(){
  if(isMobile()){
      //setTimeout('gg()',1000);
  }else{

  }
})
function gg(){
  $('.masonry-item').css({'position':'static',left:0,top:0});
}
</script>
<!--
<div class="gallery">
	<h5>2016年8月19日 - 有时启动应用时会发现端口已经被占用,或者是感觉有些端口自己没有使用却发现是打开的。这时我们希望知道是哪个应用/进程在使用该端口。 CentOS下可以..</h5>
	<ul>
	<li><img src="/static/mob/images/1.jpg" alt=""></li>
	<li><img src="/static/mob/images/2.jpg" alt=""></li>
	<li><img src="/static/mob/images/3.jpg" alt=""></li>
	<li><img src="/static/mob/images/4.jpg" alt=""></li>
	<li><img src="/static/mob/images/5.jpg" alt=""></li>
	<li><img src="/static/mob/images/4.jpg" alt=""></li>
	<li><img src="/static/mob/images/5.jpg" alt=""></li>
	<li><img src="/static/mob/images/4.jpg" alt=""></li>
	<li><img src="/static/mob/images/5.jpg" alt=""></li>
	</ul>
</div>
-->
</body>
</html>